<?php
namespace App\Models\Rating;

use App\Models\Model;


class JobApply extends Model
{
    protected $table = 'job_apply'; 

    public function job_apply_details()
    {
        return $this->hasMany(JobApplyDetails::class,'job_apply_id','id');
    }

    public function job_apply_check()
    {
        return $this->hasMany(JobApplyChecks::class,'job_apply_id','id');
    }

    public function jobs()
    {
        return $this->belongsTo(Job::class,'job_id','id');
    }

}